package com.hwbsite.hwbback.entity;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import jakarta.validation.constraints.NotBlank;

@Data
public class UserDTO {

    /**
     *
     */
    @NotBlank( message = "用户名不能为空")
    private String username;

    /**
     *
     */
    @NotBlank( message = "密码不能为空")
    private String password;

    @NotBlank( message = "密码不能为空")
    private String passwordConfirm;

    private String nickName;

    private String avatar;

    private String bgImg;

    private String email;

    private String grantType;

    private String refreshToken;
}
